package org.dromara.demo.domain.vo;

import org.dromara.demo.domain.JsExample;
import com.alibaba.excel.annotation.ExcelIgnoreUnannotated;
import com.alibaba.excel.annotation.ExcelProperty;
import io.github.linpeilie.annotations.AutoMapper;
import lombok.Data;

import java.io.Serial;
import java.io.Serializable;
import java.util.List;


/**
 * 测试用例视图对象 js_example
 *
 * @author zhu
 * @date 2024-12-26
 */
@Data
@ExcelIgnoreUnannotated
@AutoMapper(target = JsExample.class)
public class JsExampleVo implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用例id
     */
    @ExcelProperty(value = "用例id")
    private Long id;

    /**
     * 用例名称
     */
    @ExcelProperty(value = "用例名称")
    private String name;

    /**
     * 类型
     */
    @ExcelProperty(value = "类型")
    private String type;

    /**
     * 元素id
     */
    @ExcelProperty(value = "元素id")
    private String elementId;

    /**
     * 设备号
     */
    @ExcelProperty(value = "设备号")
    private String deviceCode;

    /**
     * 备注
     */
    @ExcelProperty(value = "备注")
    private String remark;

    /**
     * 分类
     */
    private String category;

    List<JsCaseVarVo> jsCaseVarVos;
}
